import { request } from "umi"

export default {

   /**
    * Description 搜索库
    * @date 6/11/2022 - 8:45:11 PM
    * @author lasida
    *
    * @param {string} name 库名称
    * @returns {*}
    */
   searchLibs (name: string) {
    return request('/api/library/searchByName', {
      params: {
        q: name
      }
    });
  }
}